//
//  LFPopViewController.swift
//  SDAutoWeibo
//
//  Created by 刘健 on 16/3/24.
//  Copyright © 2016年 Clemmie. All rights reserved.
//

import UIKit

class LFPopViewController: UITableViewController {
    
    private  let ReuseIdentifier = "ReuseIdentifier"

    let titlesArr = ["首页","好友圈","群微博","我的微博","新浪微博"]
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        //注册
        tableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: ReuseIdentifier)

    }

    // MARK: - Table view data source

    override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
    
        return titlesArr.count
    }
    

    override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let cell = tableView.dequeueReusableCellWithIdentifier(ReuseIdentifier, forIndexPath: indexPath)

            cell.textLabel?.text = titlesArr[indexPath.row]

        return cell
    }
 }
